Higher-Order Recursion Abstraction: How to Make Ackermann, Knuth and Conway Look Like a Bunch of Primitives, Figuratively Speaking
نویسنده
چکیده
The Ackermann function is a famous total recursive binary function on the natural numbers. It is the archetypal example of such a function that is not primitive recursive, in the sense of classical recursion theory. However, and in seeming contradiction, there are generalized notions of total recursion, for which the Ackermann function is in fact primitive recursive, and often featured as a witness for the additional power gained by the generalization. Here, we investigate techniques for finding and analyzing the primitive form of complicated recursive functions, namely also Knuth's and Conway's arrow notations, in particular by recursion abstraction, in a framework of functional program transformation.
منابع مشابه
The Ackermann functions are not optimal, but by how much?
By taking a closer look at the construction of an Ackermann function we see that between any primitive recursive degree and its Ackermann modification there is a dense chain of primitive recursive degrees.
متن کاملThe relationship between teaching conversation through role play and speaking
Role-plays provide students with the opportunity to demonstrate how to use English in real life situations and make them focus more on communication than on grammar. Oral presentations like conversations are a great way for students to practice their English skills. Therefore, this paper makes an attempt to investigate whether teaching conversation through role play affects the students’ speaki...
متن کاملTotal Recursion over Lexicographical Orderings: Elementary Recursive Operators Beyond PR
In this work we generalize primitive recursion in order to construct a hierarchy of terminating total recursive operators which we refer to as leveled primitive recursion of order i(PRi). Primitive recursion is equivalent to leveled primitive recursion of order 1 (PR1). The functions constructable from the basic functions make up PR0. Interestingly, we show that PR2 is a conservative extension ...
متن کاملFull Abstraction for Linda
This paper investigates full abstraction of a trace semantics for two Linda-like languages. The first language provides primitives for adding and removing messages from a shared memory, local choice, parallel composition and recursion. The second one adds the possibility of checking for the absence of a message in the store. After having defined a denotational semantics based on traces, we obta...
متن کاملA Transfinite Knuth-Bendix Order for Lambda-Free Higher-Order Terms
We generalize the Knuth–Bendix order (KBO) to higher-order terms without λ-abstraction. The restriction of this new order to first-order terms coincides with the traditional KBO. The order has many useful properties, including transitivity, the subterm property, compatibility with contexts (monotonicity), stability under substitution, and well-foundedness. Transfinite weights and argument coeff...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1602.05010 شماره
صفحات -
تاریخ انتشار 2016